import request from '@/utils/request.js'

export default{

  //1、根分页讲师查询的方法
  getTeacherList(page, limit){
    return request({
      url: `/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
      method: 'post'
    })
  },

  //2、根据id查询讲师详情
  getTeacherInfo(teacherId){
    return request({
      url: '/eduservice/teacherfront/getTeacherFrontInfo/' + teacherId,
      method: 'get'
    })
  }

}
